import request from '@/utils/request'


//按客户区分-列表#权限标识：zhcloud:sjfx:list
export function getListCustomerCategory(data, params) {
    return request({
        url: '/storage/sjfx/byCustomer',
        method: 'post',
        data: data,
        params:params
    })
}


//按客户区分-按日区分#权限标识：zhcloud:sjfx:list
export function getListCustomerCategoryDays(data, params) {
    return request({
        url: '/storage/sjfx/byDay',
        method: 'post',
        data: data,
        params:params
    })
}

//按客户区分-剩余货物#权限标识：zhcloud:sjfx:list
export function getListCustomerCategoryLeftGoods(data, params) {
    return request({
        url: '/storage/sjfx/leftOverGoods',
        method: 'post',
        data: data,
        params:params
    })
}

//按客户区分-按仓区分#权限标识：zhcloud:sjfx:list
export function getListDaysCategory(data, params) {
    return request({
        url: '/storage/sjfx/sortByWarehouse',
        method: 'post',
        data: data,
        params:params
    })
}

//按客户区分-柱状图(按日、按月)#权限标识：zhcloud:sjfx:list
export function getCustomerCategoryChart(data) {
    return request({
        url: '/storage/sjfx/byCustomerHistogram',
        method: 'post',
        data: data
    })
}

//按客户区分-圆状图#权限标识：zhcloud:sjfx:list
export function getCustomerCategoryCircleChart(data) {
    return request({
        url: '/storage/sjfx/byCustomerPieChart',
        method: 'post',
        data: data
    })
}
